vvmx: return VMfail to L1 if L1 vmxon is executed in VMX operation
authorHaozhong Zhang <haozhong.zhang@intel.com>
Thu, 15 Dec 2016 10:11:45 +0000 (11:11 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 15 Dec 2016 10:11:45 +0000 (11:11 +0100)
commitc88da9ec885252e775e1d65022d0ef4dd44dfc81
tree5816cc06313d524edb2736d5ef0ed570dbf43c62
parentac6a4500b2bed47fa135afbf8e4caeb4b3df546d
vvmx: return VMfail to L1 if L1 vmxon is executed in VMX operation

According to Intel SDM, section "VMXON - Enter VMX Operation", a
VMfail should be returned to L1 hypervisor if L1 vmxon is executed in
VMX operation, rather than just print a warning message.

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/vvmx.c